Getting Started with ResearchKit by Edward Cessna & Dhanush Balachandran

Getting Started with ResearchKit by Edward Cessna & Dhanush Balachandran

Author:Edward Cessna & Dhanush Balachandran
Language: eng
Format: mobi
Publisher: Packt Publishing
Published: 2016-02-17T22:00:00+00:00


if let result = stepResult?.firstResult as? <result type, such as ORKFileResult>

{

<process result>

}

// Process second results, if any

...

dismissViewControllerAnimated(true, completion: nil)

}

The task view controller will invoke the taskViewController:didFinishWithReason:error method on the delegate when an unrecoverable error occurs or when the user has cancelled the task. Similar to the successful completion of the task, the delegate should dismiss the view controller.

The taskViewController:recorder:didFailWithError method on the delegate will be called whenever the recorder detects an error. This will occur when sensor data is not available or there is insufficient disk space to record the results.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.